<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
             <input id="c-userid" data-rule="required" data-source="/api/base/user" data-primary-key="userid" data-field="username"  data-params='{"custom[id]":"1"}'  class="form-control selectpage" name="row[userid]" type="text" value="{$row.userid}">
        </div>
    </div>
   <div class="form-group">
        <label for="c-image" class="control-label col-xs-12 col-sm-2">{:__('Alipay')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-alipay" class="form-control" size="50" name="row[alipay]" type="text" value="{$row.alipay}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-alipay" class="btn btn-danger plupload" data-url="{:url('ajax/upload','typeStatus=1&pay=alipay')}" data-input-id="c-alipay" data-mimetype="image/*" data-multiple="false" data-preview-id="p-alipay"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>
     <div class="form-group">
        <label for="c-image" class="control-label col-xs-12 col-sm-2">{:__('Wechat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-wechat" class="form-control" size="50" name="row[wechat]" type="text" value="{$row.wechat}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-wechat" class="btn btn-danger plupload" data-url="{:url('ajax/upload','typeStatus=1&pay=wechat')}" data-input-id="c-wechat" data-mimetype="image/*" data-multiple="false" data-preview-id="p-wechat"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>
<!--    <div class="form-group">
        <label for="c-image" class="control-label col-xs-12 col-sm-2">{:__('Qq')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-qq" class="form-control" size="50" name="row[qq]" type="text" vvalue="{$row.qq}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-qq" class="btn btn-danger plupload" data-url="{:url('ajax/upload','typeStatus=1&pay=qq')}" data-input-id="c-qq" data-mimetype="image/*" data-multiple="false" data-preview-id="p-qq"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>
 -->    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
